package com.tanqing.ddd.domain.event;


import com.tanqing.ddd.domain.domain.DomainEvent;
import com.tanqing.ddd.domain.entity.Plate;

import java.util.Date;

public class CheckOutSuccessEvent implements DomainEvent {

    private Plate plate;

    private Date date;

    public Plate getPlate() {
        return plate;
    }

    public void setPlate(Plate plate) {
        this.plate = plate;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public CheckOutSuccessEvent(Plate plate, Date date) {
        this.plate = plate;
        this.date = date;
    }
}
